.class public Lcom/noshufou/android/su/SuRequestActivity;
.super Landroid/app/Activity;
.source "SuRequestActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# static fields
.field private static final TAG:Ljava/lang/String; = "Su.SuRequestActivity"


# instance fields
.field private mAttempts:I

.field private mCallerUid:I

.field private mDesiredCmd:Ljava/lang/String;

.field private mDesiredUid:I

.field private mFlipper:Landroid/widget/ViewFlipper;

.field private mMoreInfo:Landroid/widget/TextView;

.field private mNfcAdapter:Landroid/nfc/NfcAdapter;

.field private mPinText:Landroid/widget/EditText;

.field private mPrefs:Landroid/content/SharedPreferences;

.field private mRememberCheckBox:Landroid/widget/CheckBox;

.field private mSocket:Landroid/net/LocalSocket;

.field private mSuVersionCode:I

.field private mUsePin:Z

.field private onPinButton:Landroid/view/View$OnClickListener;


# direct methods
.method public constructor <init>()V
    .locals 2

    .prologue
    const/4 v1, 0x0

    .line 54
    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    .line 60
    iput v1, p0, Lcom/noshufou/android/su/SuRequestActivity;->mCallerUid:I

    .line 61
    iput v1, p0, Lcom/noshufou/android/su/SuRequestActivity;->mDesiredUid:I

    .line 62
    const-string v0, ""

    iput-object v0, p0, Lcom/noshufou/android/su/SuRequestActivity;->mDesiredCmd:Ljava/lang/String;

    .line 63
    iput v1, p0, Lcom/noshufou/android/su/SuRequestActivity;->mSuVersionCode:I

    .line 65
    iput-boolean v1, p0, Lcom/noshufou/android/su/SuRequestActivity;->mUsePin:Z

    .line 66
    const/4 v0, 0x3

    iput v0, p0, Lcom/noshufou/android/su/SuRequestActivity;->mAttempts:I

    .line 68
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/noshufou/android/su/SuRequestActivity;->mNfcAdapter:Landroid/nfc/NfcAdapter;

    .line 241
    new-instance v0, Lcom/noshufou/android/su/SuRequestActivity$1;

    invoke-direct {v0, p0}, Lcom/noshufou/android/su/SuRequestActivity$1;-><init>(Lcom/noshufou/android/su/SuRequestActivity;)V

    iput-object v0, p0, Lcom/noshufou/android/su/SuRequestActivity;->onPinButton:Landroid/view/View$OnClickListener;

    .line 54
    return-void
.end method

.method static synthetic access$0(Lcom/noshufou/android/su/SuRequestActivity;)Landroid/widget/EditText;
    .locals 1
    .parameter

    .prologue
    .line 71
    iget-object v0, p0, Lcom/noshufou/android/su/SuRequestActivity;->mPinText:Landroid/widget/EditText;

    return-object v0
.end method

.method private flipInfo()V
    .locals 2

    .prologue
    .line 233
    iget-object v0, p0, Lcom/noshufou/android/su/SuRequestActivity;->mFlipper:Landroid/widget/ViewFlipper;

    invoke-virtual {v0}, Landroid/widget/ViewFlipper;->showNext()V

    .line 234
    iget-object v0, p0, Lcom/noshufou/android/su/SuRequestActivity;->mFlipper:Landroid/widget/ViewFlipper;

    invoke-virtual {v0}, Landroid/widget/ViewFlipper;->getDisplayedChild()I

    move-result v0

    if-nez v0, :cond_0

    .line 235
    iget-object v0, p0, Lcom/noshufou/android/su/SuRequestActivity;->mMoreInfo:Landroid/widget/TextView;

    const v1, 0x7f0b0033

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    .line 239
    :goto_0
    return-void

    .line 237
    :cond_0
    iget-object v0, p0, Lcom/noshufou/android/su/SuRequestActivity;->mMoreInfo:Landroid/widget/TextView;

    const v1, 0x7f0b0034

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    goto :goto_0
.end method

.method private sendResult(ZZ)V
    .locals 11
    .parameter "allow"
    .parameter "remember"

    .prologue
    const/4 v8, 0x0

    .line 249
    if-eqz p1, :cond_2

    const-string v4, "ALLOW"

    .line 251
    .local v4, resultCode:Ljava/lang/String;
    :goto_0
    if-eqz p2, :cond_0

    .line 252
    new-instance v6, Landroid/content/ContentValues;

    invoke-direct {v6}, Landroid/content/ContentValues;-><init>()V

    .line 253
    .local v6, values:Landroid/content/ContentValues;
    const-string v7, "uid"

    iget v9, p0, Lcom/noshufou/android/su/SuRequestActivity;->mCallerUid:I

    invoke-static {v9}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v9

    invoke-virtual {v6, v7, v9}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Integer;)V

    .line 254
    const-string v7, "package"

    iget v9, p0, Lcom/noshufou/android/su/SuRequestActivity;->mCallerUid:I

    invoke-static {p0, v9}, Lcom/noshufou/android/su/util/Util;->getAppPackage(Landroid/content/Context;I)Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v6, v7, v9}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V

    .line 255
    const-string v7, "name"

    iget v9, p0, Lcom/noshufou/android/su/SuRequestActivity;->mCallerUid:I

    invoke-static {p0, v9, v8}, Lcom/noshufou/android/su/util/Util;->getAppName(Landroid/content/Context;IZ)Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v6, v7, v9}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V

    .line 256
    const-string v7, "exec_uid"

    iget v9, p0, Lcom/noshufou/android/su/SuRequestActivity;->mDesiredUid:I

    invoke-static {v9}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v9

    invoke-virtual {v6, v7, v9}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Integer;)V

    .line 257
    const-string v7, "exec_cmd"

    iget-object v9, p0, Lcom/noshufou/android/su/SuRequestActivity;->mDesiredCmd:Ljava/lang/String;

    invoke-virtual {v6, v7, v9}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V

    .line 258
    const-string v9, "allow"

    if-eqz p1, :cond_3

    const/4 v7, 0x1

    :goto_1
    invoke-static {v7}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v7

    invoke-virtual {v6, v9, v7}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Integer;)V

    .line 259
    invoke-virtual {p0}, Lcom/noshufou/android/su/SuRequestActivity;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v7

    sget-object v9, Lcom/noshufou/android/su/provider/PermissionsProvider$Apps;->CONTENT_URI:Landroid/net/Uri;

    invoke-virtual {v7, v9, v6}, Landroid/content/ContentResolver;->insert(Landroid/net/Uri;Landroid/content/ContentValues;)Landroid/net/Uri;

    .line 262
    .end local v6           #values:Landroid/content/ContentValues;
    :cond_0
    iget-object v7, p0, Lcom/noshufou/android/su/SuRequestActivity;->mPrefs:Landroid/content/SharedPreferences;

    invoke-interface {v7}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v1

    .line 263
    .local v1, editor:Landroid/content/SharedPreferences$Editor;
    const-string v7, "last_remember_value"

    iget-object v9, p0, Lcom/noshufou/android/su/SuRequestActivity;->mRememberCheckBox:Landroid/widget/CheckBox;

    invoke-virtual {v9}, Landroid/widget/CheckBox;->isChecked()Z

    move-result v9

    invoke-interface {v1, v7, v9}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;

    .line 265
    iget-object v7, p0, Lcom/noshufou/android/su/SuRequestActivity;->mPrefs:Landroid/content/SharedPreferences;

    const-string v9, "pref_timeout"

    invoke-interface {v7, v9, v8}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v5

    .line 266
    .local v5, timeout:I
    if-lez v5, :cond_1

    if-eqz p1, :cond_1

    .line 267
    new-instance v7, Ljava/lang/StringBuilder;

    const-string v8, "active_"

    invoke-direct {v7, v8}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget v8, p0, Lcom/noshufou/android/su/SuRequestActivity;->mCallerUid:I

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 268
    .local v2, key:Ljava/lang/String;
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v7

    mul-int/lit16 v9, v5, 0x3e8

    int-to-long v9, v9

    add-long/2addr v7, v9

    invoke-interface {v1, v2, v7, v8}, Landroid/content/SharedPreferences$Editor;->putLong(Ljava/lang/String;J)Landroid/content/SharedPreferences$Editor;

    .line 270
    .end local v2           #key:Ljava/lang/String;
    :cond_1
    invoke-interface {v1}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 273
    :try_start_0
    iget-object v7, p0, Lcom/noshufou/android/su/SuRequestActivity;->mSocket:Landroid/net/LocalSocket;

    invoke-virtual {v7}, Landroid/net/LocalSocket;->getOutputStream()Ljava/io/OutputStream;

    move-result-object v3

    .line 274
    .local v3, os:Ljava/io/OutputStream;
    const-string v7, "Su.SuRequestActivity"

    new-instance v8, Ljava/lang/StringBuilder;

    const-string v9, "Sending result: "

    invoke-direct {v8, v9}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v8, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v8

    const-string v9, " for UID: "

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v8

    iget v9, p0, Lcom/noshufou/android/su/SuRequestActivity;->mCallerUid:I

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v8

    invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v8

    invoke-static {v7, v8}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 275
    const-string v7, "UTF-8"

    invoke-virtual {v4, v7}, Ljava/lang/String;->getBytes(Ljava/lang/String;)[B

    move-result-object v7

    invoke-virtual {v3, v7}, Ljava/io/OutputStream;->write([B)V

    .line 276
    invoke-virtual {v3}, Ljava/io/OutputStream;->flush()V

    .line 277
    invoke-virtual {v3}, Ljava/io/OutputStream;->close()V

    .line 278
    iget-object v7, p0, Lcom/noshufou/android/su/SuRequestActivity;->mSocket:Landroid/net/LocalSocket;

    invoke-virtual {v7}, Landroid/net/LocalSocket;->close()V
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    .line 282
    .end local v3           #os:Ljava/io/OutputStream;
    :goto_2
    invoke-virtual {p0}, Lcom/noshufou/android/su/SuRequestActivity;->finish()V

    .line 283
    return-void

    .line 249
    .end local v1           #editor:Landroid/content/SharedPreferences$Editor;
    .end local v4           #resultCode:Ljava/lang/String;
    .end local v5           #timeout:I
    :cond_2
    const-string v4, "DENY"

    goto/16 :goto_0

    .restart local v4       #resultCode:Ljava/lang/String;
    .restart local v6       #values:Landroid/content/ContentValues;
    :cond_3
    move v7, v8

    .line 258
    goto/16 :goto_1

    .line 279
    .end local v6           #values:Landroid/content/ContentValues;
    .restart local v1       #editor:Landroid/content/SharedPreferences$Editor;
    .restart local v5       #timeout:I
    :catch_0
    move-exception v0

    .line 280
    .local v0, e:Ljava/io/IOException;
    const-string v7, "Su.SuRequestActivity"

    const-string v8, "Failed to write to socket"

    invoke-static {v7, v8, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_2
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 7
    .parameter "v"

    .prologue
    const/4 v4, 0x1

    const/4 v6, 0x0

    .line 203
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    .line 230
    :goto_0
    :pswitch_0
    return-void

    .line 206
    :pswitch_1
    iget-boolean v0, p0, Lcom/noshufou/android/su/SuRequestActivity;->mUsePin:Z

    if-eqz v0, :cond_2

    .line 207
    iget v0, p0, Lcom/noshufou/android/su/SuRequestActivity;->mAttempts:I

    add-int/lit8 v0, v0, -0x1

    iput v0, p0, Lcom/noshufou/android/su/SuRequestActivity;->mAttempts:I

    .line 208
    iget-object v0, p0, Lcom/noshufou/android/su/SuRequestActivity;->mPinText:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-interface {v0}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0}, Lcom/noshufou/android/su/util/Util;->checkPin(Landroid/content/Context;Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 209
    iget-object v0, p0, Lcom/noshufou/android/su/SuRequestActivity;->mRememberCheckBox:Landroid/widget/CheckBox;

    invoke-virtual {v0}, Landroid/widget/CheckBox;->isChecked()Z

    move-result v0

    invoke-direct {p0, v4, v0}, Lcom/noshufou/android/su/SuRequestActivity;->sendResult(ZZ)V

    goto :goto_0

    .line 210
    :cond_0
    iget v0, p0, Lcom/noshufou/android/su/SuRequestActivity;->mAttempts:I

    if-lez v0, :cond_1

    .line 211
    iget-object v0, p0, Lcom/noshufou/android/su/SuRequestActivity;->mPinText:Landroid/widget/EditText;

    const-string v1, ""

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 212
    iget-object v0, p0, Lcom/noshufou/android/su/SuRequestActivity;->mPinText:Landroid/widget/EditText;

    invoke-virtual {p0}, Lcom/noshufou/android/su/SuRequestActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f0c0002

    .line 213
    iget v3, p0, Lcom/noshufou/android/su/SuRequestActivity;->mAttempts:I

    new-array v4, v4, [Ljava/lang/Object;

    iget v5, p0, Lcom/noshufou/android/su/SuRequestActivity;->mAttempts:I

    invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v5

    aput-object v5, v4, v6

    .line 212
    invoke-virtual {v1, v2, v3, v4}, Landroid/content/res/Resources;->getQuantityString(II[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V

    .line 214
    iget-object v0, p0, Lcom/noshufou/android/su/SuRequestActivity;->mPinText:Landroid/widget/EditText;

    const/high16 v1, -0x1

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setHintTextColor(I)V

    goto :goto_0

    .line 216
    :cond_1
    invoke-direct {p0, v6, v6}, Lcom/noshufou/android/su/SuRequestActivity;->sendResult(ZZ)V

    goto :goto_0

    .line 219
    :cond_2
    iget-object v0, p0, Lcom/noshufou/android/su/SuRequestActivity;->mRememberCheckBox:Landroid/widget/CheckBox;

    invoke-virtual {v0}, Landroid/widget/CheckBox;->isChecked()Z

    move-result v0

    invoke-direct {p0, v4, v0}, Lcom/noshufou/android/su/SuRequestActivity;->sendResult(ZZ)V

    goto :goto_0

    .line 224
    :pswitch_2
    iget-object v0, p0, Lcom/noshufou/android/su/SuRequestActivity;->mRememberCheckBox:Landroid/widget/CheckBox;

    invoke-virtual {v0}, Landroid/widget/CheckBox;->isChecked()Z

    move-result v0

    invoke-direct {p0, v6, v0}, Lcom/noshufou/android/su/SuRequestActivity;->sendResult(ZZ)V

    goto :goto_0

    .line 228
    :pswitch_3
    invoke-direct {p0}, Lcom/noshufou/android/su/SuRequestActivity;->flipInfo()V

    goto :goto_0

    .line 203
    nop

    :pswitch_data_0
    .packed-switch 0x7f0a0049
        :pswitch_1
        :pswitch_0
        :pswitch_2
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_0
        :pswitch_0
        :pswitch_3
    .end packed-switch
.end method

.method public onCreate(Landroid/os/Bundle;)V
    .locals 14
    .parameter "savedInstanceState"

    .prologue
    const/4 v13, 0x1

    const/4 v12, 0x0

    .line 78
    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    .line 80
    invoke-virtual {p0}, Lcom/noshufou/android/su/SuRequestActivity;->getCallingPackage()Ljava/lang/String;

    move-result-object v9

    if-eqz v9, :cond_0

    .line 81
    const-string v9, "Su.SuRequestActivity"

    const-string v10, "SuRequest must be started from su"

    invoke-static {v9, v10}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 82
    invoke-virtual {p0}, Lcom/noshufou/android/su/SuRequestActivity;->finish()V

    .line 161
    :goto_0
    return-void

    .line 86
    :cond_0
    invoke-static {p0}, Landroid/preference/PreferenceManager;->getDefaultSharedPreferences(Landroid/content/Context;)Landroid/content/SharedPreferences;

    move-result-object v9

    iput-object v9, p0, Lcom/noshufou/android/su/SuRequestActivity;->mPrefs:Landroid/content/SharedPreferences;

    .line 88
    invoke-virtual {p0}, Lcom/noshufou/android/su/SuRequestActivity;->getIntent()Landroid/content/Intent;

    move-result-object v3

    .line 89
    .local v3, intent:Landroid/content/Intent;
    const-string v9, "caller_uid"

    invoke-virtual {v3, v9, v12}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v9

    iput v9, p0, Lcom/noshufou/android/su/SuRequestActivity;->mCallerUid:I

    .line 90
    const-string v9, "desired_uid"

    invoke-virtual {v3, v9, v12}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v9

    iput v9, p0, Lcom/noshufou/android/su/SuRequestActivity;->mDesiredUid:I

    .line 91
    const-string v9, "desired_cmd"

    invoke-virtual {v3, v9}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v9

    iput-object v9, p0, Lcom/noshufou/android/su/SuRequestActivity;->mDesiredCmd:Ljava/lang/String;

    .line 92
    const-string v9, "socket"

    invoke-virtual {v3, v9}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    .line 93
    .local v8, socketPath:Ljava/lang/String;
    const-string v9, "version_code"

    invoke-virtual {v3, v9, v12}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v9

    iput v9, p0, Lcom/noshufou/android/su/SuRequestActivity;->mSuVersionCode:I

    .line 95
    iget-object v9, p0, Lcom/noshufou/android/su/SuRequestActivity;->mPrefs:Landroid/content/SharedPreferences;

    const-string v10, "pref_pin"

    invoke-interface {v9, v10, v12}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z

    move-result v9

    iput-boolean v9, p0, Lcom/noshufou/android/su/SuRequestActivity;->mUsePin:Z

    .line 96
    iget-boolean v9, p0, Lcom/noshufou/android/su/SuRequestActivity;->mUsePin:Z

    if-eqz v9, :cond_2

    .line 97
    const v9, 0x7f030006

    invoke-virtual {p0, v9}, Lcom/noshufou/android/su/SuRequestActivity;->setContentView(I)V

    .line 98
    const v9, 0x7f0a0016

    invoke-virtual {p0, v9}, Lcom/noshufou/android/su/SuRequestActivity;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/view/ViewGroup;

    .line 99
    .local v6, pinLayout:Landroid/view/ViewGroup;
    const v9, 0x7f0a003f

    invoke-virtual {v6, v9}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/EditText;

    iput-object v9, p0, Lcom/noshufou/android/su/SuRequestActivity;->mPinText:Landroid/widget/EditText;

    .line 100
    const v9, 0x7f0a004a

    invoke-virtual {v6, v9}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/Button;

    iget-object v10, p0, Lcom/noshufou/android/su/SuRequestActivity;->onPinButton:Landroid/view/View$OnClickListener;

    invoke-virtual {v9, v10}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 101
    const v9, 0x7f0a0040

    invoke-virtual {v6, v9}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/Button;

    iget-object v10, p0, Lcom/noshufou/android/su/SuRequestActivity;->onPinButton:Landroid/view/View$OnClickListener;

    invoke-virtual {v9, v10}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 102
    const v9, 0x7f0a0041

    invoke-virtual {v6, v9}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/Button;

    iget-object v10, p0, Lcom/noshufou/android/su/SuRequestActivity;->onPinButton:Landroid/view/View$OnClickListener;

    invoke-virtual {v9, v10}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 103
    const v9, 0x7f0a0042

    invoke-virtual {v6, v9}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/Button;

    iget-object v10, p0, Lcom/noshufou/android/su/SuRequestActivity;->onPinButton:Landroid/view/View$OnClickListener;

    invoke-virtual {v9, v10}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 104
    const v9, 0x7f0a0043

    invoke-virtual {v6, v9}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/Button;

    iget-object v10, p0, Lcom/noshufou/android/su/SuRequestActivity;->onPinButton:Landroid/view/View$OnClickListener;

    invoke-virtual {v9, v10}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 105
    const v9, 0x7f0a0044

    invoke-virtual {v6, v9}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/Button;

    iget-object v10, p0, Lcom/noshufou/android/su/SuRequestActivity;->onPinButton:Landroid/view/View$OnClickListener;

    invoke-virtual {v9, v10}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 106
    const v9, 0x7f0a0045

    invoke-virtual {v6, v9}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/Button;

    iget-object v10, p0, Lcom/noshufou/android/su/SuRequestActivity;->onPinButton:Landroid/view/View$OnClickListener;

    invoke-virtual {v9, v10}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 107
    const v9, 0x7f0a0046

    invoke-virtual {v6, v9}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/Button;

    iget-object v10, p0, Lcom/noshufou/android/su/SuRequestActivity;->onPinButton:Landroid/view/View$OnClickListener;

    invoke-virtual {v9, v10}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 108
    const v9, 0x7f0a0047

    invoke-virtual {v6, v9}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/Button;

    iget-object v10, p0, Lcom/noshufou/android/su/SuRequestActivity;->onPinButton:Landroid/view/View$OnClickListener;

    invoke-virtual {v9, v10}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 109
    const v9, 0x7f0a0048

    invoke-virtual {v6, v9}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/Button;

    iget-object v10, p0, Lcom/noshufou/android/su/SuRequestActivity;->onPinButton:Landroid/view/View$OnClickListener;

    invoke-virtual {v9, v10}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 110
    const v9, 0x7f0a0049

    invoke-virtual {p0, v9}, Lcom/noshufou/android/su/SuRequestActivity;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/Button;

    invoke-virtual {v9, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 111
    const v9, 0x7f0a004b

    invoke-virtual {p0, v9}, Lcom/noshufou/android/su/SuRequestActivity;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/Button;

    invoke-virtual {v9, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 119
    .end local v6           #pinLayout:Landroid/view/ViewGroup;
    :goto_1
    :try_start_0
    new-instance v9, Landroid/net/LocalSocket;

    invoke-direct {v9}, Landroid/net/LocalSocket;-><init>()V

    iput-object v9, p0, Lcom/noshufou/android/su/SuRequestActivity;->mSocket:Landroid/net/LocalSocket;

    .line 120
    iget-object v9, p0, Lcom/noshufou/android/su/SuRequestActivity;->mSocket:Landroid/net/LocalSocket;

    new-instance v10, Landroid/net/LocalSocketAddress;

    .line 121
    sget-object v11, Landroid/net/LocalSocketAddress$Namespace;->FILESYSTEM:Landroid/net/LocalSocketAddress$Namespace;

    invoke-direct {v10, v8, v11}, Landroid/net/LocalSocketAddress;-><init>(Ljava/lang/String;Landroid/net/LocalSocketAddress$Namespace;)V

    .line 120
    invoke-virtual {v9, v10}, Landroid/net/LocalSocket;->connect(Landroid/net/LocalSocketAddress;)V
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    .line 129
    :goto_2
    iget v9, p0, Lcom/noshufou/android/su/SuRequestActivity;->mSuVersionCode:I

    const/16 v10, 0xa

    if-ge v9, v10, :cond_1

    .line 130
    invoke-static {p0}, Lcom/noshufou/android/su/util/Util;->showOutdatedNotification(Landroid/content/Context;)V

    .line 133
    :cond_1
    const v9, 0x7f0a0050

    invoke-virtual {p0, v9}, Lcom/noshufou/android/su/SuRequestActivity;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/TextView;

    .line 134
    .local v4, message:Landroid/widget/TextView;
    const v9, 0x7f0b0032

    new-array v10, v13, [Ljava/lang/Object;

    iget v11, p0, Lcom/noshufou/android/su/SuRequestActivity;->mCallerUid:I

    invoke-static {p0, v11, v12}, Lcom/noshufou/android/su/util/Util;->getAppName(Landroid/content/Context;IZ)Ljava/lang/String;

    move-result-object v11

    aput-object v11, v10, v12

    invoke-virtual {p0, v9, v10}, Lcom/noshufou/android/su/SuRequestActivity;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v4, v9}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 136
    const v9, 0x7f0a001c

    invoke-virtual {p0, v9}, Lcom/noshufou/android/su/SuRequestActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    .line 137
    .local v0, appNameView:Landroid/widget/TextView;
    iget v9, p0, Lcom/noshufou/android/su/SuRequestActivity;->mCallerUid:I

    invoke-static {p0, v9, v13}, Lcom/noshufou/android/su/util/Util;->getAppName(Landroid/content/Context;IZ)Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v0, v9}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 139
    const v9, 0x7f0a0020

    invoke-virtual {p0, v9}, Lcom/noshufou/android/su/SuRequestActivity;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/TextView;

    .line 140
    .local v5, packageNameView:Landroid/widget/TextView;
    iget v9, p0, Lcom/noshufou/android/su/SuRequestActivity;->mCallerUid:I

    invoke-static {p0, v9}, Lcom/noshufou/android/su/util/Util;->getAppPackage(Landroid/content/Context;I)Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v5, v9}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 142
    const v9, 0x7f0a0024

    invoke-virtual {p0, v9}, Lcom/noshufou/android/su/SuRequestActivity;->findViewById(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/TextView;

    .line 143
    .local v7, requestDetailView:Landroid/widget/TextView;
    iget v9, p0, Lcom/noshufou/android/su/SuRequestActivity;->mDesiredUid:I

    invoke-static {p0, v9, v13}, Lcom/noshufou/android/su/util/Util;->getUidName(Landroid/content/Context;IZ)Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v7, v9}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 145
    const v9, 0x7f0a0026

    invoke-virtual {p0, v9}, Lcom/noshufou/android/su/SuRequestActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    .line 146
    .local v1, commandView:Landroid/widget/TextView;
    iget-object v9, p0, Lcom/noshufou/android/su/SuRequestActivity;->mDesiredCmd:Ljava/lang/String;

    invoke-virtual {v1, v9}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 148
    const v9, 0x7f0a0015

    invoke-virtual {p0, v9}, Lcom/noshufou/android/su/SuRequestActivity;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/CheckBox;

    iput-object v9, p0, Lcom/noshufou/android/su/SuRequestActivity;->mRememberCheckBox:Landroid/widget/CheckBox;

    .line 149
    iget-object v9, p0, Lcom/noshufou/android/su/SuRequestActivity;->mRememberCheckBox:Landroid/widget/CheckBox;

    iget-object v10, p0, Lcom/noshufou/android/su/SuRequestActivity;->mPrefs:Landroid/content/SharedPreferences;

    const-string v11, "last_remember_value"

    invoke-interface {v10, v11, v13}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z

    move-result v10

    invoke-virtual {v9, v10}, Landroid/widget/CheckBox;->setChecked(Z)V

    .line 151
    const v9, 0x7f0a004f

    invoke-virtual {p0, v9}, Lcom/noshufou/android/su/SuRequestActivity;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/ViewFlipper;

    iput-object v9, p0, Lcom/noshufou/android/su/SuRequestActivity;->mFlipper:Landroid/widget/ViewFlipper;

    .line 152
    const v9, 0x7f0a0052

    invoke-virtual {p0, v9}, Lcom/noshufou/android/su/SuRequestActivity;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/TextView;

    iput-object v9, p0, Lcom/noshufou/android/su/SuRequestActivity;->mMoreInfo:Landroid/widget/TextView;

    .line 154
    iget-object v9, p0, Lcom/noshufou/android/su/SuRequestActivity;->mPrefs:Landroid/content/SharedPreferences;

    const-string v10, "pref_advanced_prompt"

    invoke-interface {v9, v10, v12}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z

    move-result v9

    if-eqz v9, :cond_3

    .line 155
    iget-object v9, p0, Lcom/noshufou/android/su/SuRequestActivity;->mFlipper:Landroid/widget/ViewFlipper;

    invoke-virtual {v9, v13}, Landroid/widget/ViewFlipper;->setDisplayedChild(I)V

    .line 156
    iget-object v9, p0, Lcom/noshufou/android/su/SuRequestActivity;->mMoreInfo:Landroid/widget/TextView;

    const/16 v10, 0x8

    invoke-virtual {v9, v10}, Landroid/widget/TextView;->setVisibility(I)V

    goto/16 :goto_0

    .line 113
    .end local v0           #appNameView:Landroid/widget/TextView;
    .end local v1           #commandView:Landroid/widget/TextView;
    .end local v4           #message:Landroid/widget/TextView;
    .end local v5           #packageNameView:Landroid/widget/TextView;
    .end local v7           #requestDetailView:Landroid/widget/TextView;
    :cond_2
    const v9, 0x7f030005

    invoke-virtual {p0, v9}, Lcom/noshufou/android/su/SuRequestActivity;->setContentView(I)V

    .line 114
    const v9, 0x7f0a004d

    invoke-virtual {p0, v9}, Lcom/noshufou/android/su/SuRequestActivity;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/Button;

    invoke-virtual {v9, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 115
    const v9, 0x7f0a004e

    invoke-virtual {p0, v9}, Lcom/noshufou/android/su/SuRequestActivity;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/Button;

    invoke-virtual {v9, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    goto/16 :goto_1

    .line 122
    :catch_0
    move-exception v2

    .line 125
    .local v2, e:Ljava/io/IOException;
    const-string v9, "Su.SuRequestActivity"

    const-string v10, "Failed to connect to socket"

    invoke-static {v9, v10, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    .line 126
    invoke-virtual {p0}, Lcom/noshufou/android/su/SuRequestActivity;->finish()V

    goto/16 :goto_2

    .line 158
    .end local v2           #e:Ljava/io/IOException;
    .restart local v0       #appNameView:Landroid/widget/TextView;
    .restart local v1       #commandView:Landroid/widget/TextView;
    .restart local v4       #message:Landroid/widget/TextView;
    .restart local v5       #packageNameView:Landroid/widget/TextView;
    .restart local v7       #requestDetailView:Landroid/widget/TextView;
    :cond_3
    iget-object v9, p0, Lcom/noshufou/android/su/SuRequestActivity;->mFlipper:Landroid/widget/ViewFlipper;

    invoke-virtual {v9, p0}, Landroid/widget/ViewFlipper;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 159
    iget-object v9, p0, Lcom/noshufou/android/su/SuRequestActivity;->mMoreInfo:Landroid/widget/TextView;

    invoke-virtual {v9, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    goto/16 :goto_0
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 2
    .parameter "keyCode"
    .parameter "event"

    .prologue
    const/4 v1, 0x0

    .line 195
    const/4 v0, 0x4

    if-eq p1, v0, :cond_0

    const/4 v0, 0x3

    if-ne p1, v0, :cond_1

    .line 196
    :cond_0
    invoke-direct {p0, v1, v1}, Lcom/noshufou/android/su/SuRequestActivity;->sendResult(ZZ)V

    .line 198
    :cond_1
    invoke-super {p0, p1, p2}, Landroid/app/Activity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result v0

    return v0
.end method

.method public onNewIntent(Landroid/content/Intent;)V
    .locals 9
    .parameter "intent"

    .prologue
    const/4 v7, 0x0

    .line 287
    const-string v6, "android.nfc.extra.NDEF_MESSAGES"

    invoke-virtual {p1, v6}, Landroid/content/Intent;->getParcelableArrayExtra(Ljava/lang/String;)[Landroid/os/Parcelable;

    move-result-object v1

    .line 288
    .local v1, rawMsgs:[Landroid/os/Parcelable;
    if-eqz v1, :cond_0

    .line 289
    aget-object v0, v1, v7

    check-cast v0, Landroid/nfc/NdefMessage;

    .line 290
    .local v0, msg:Landroid/nfc/NdefMessage;
    invoke-virtual {v0}, Landroid/nfc/NdefMessage;->getRecords()[Landroid/nfc/NdefRecord;

    move-result-object v6

    aget-object v2, v6, v7

    .line 291
    .local v2, record:Landroid/nfc/NdefRecord;
    invoke-virtual {v2}, Landroid/nfc/NdefRecord;->getTnf()S

    move-result v4

    .line 292
    .local v4, tnf:S
    new-instance v5, Ljava/lang/String;

    invoke-virtual {v2}, Landroid/nfc/NdefRecord;->getType()[B

    move-result-object v6

    invoke-direct {v5, v6}, Ljava/lang/String;-><init>([B)V

    .line 293
    .local v5, type:Ljava/lang/String;
    const/4 v6, 0x2

    if-ne v4, v6, :cond_0

    .line 294
    const-string v6, "text/x-su-a"

    invoke-virtual {v5, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_0

    .line 295
    new-instance v3, Ljava/lang/String;

    invoke-virtual {v2}, Landroid/nfc/NdefRecord;->getPayload()[B

    move-result-object v6

    invoke-direct {v3, v6}, Ljava/lang/String;-><init>([B)V

    .line 296
    .local v3, tagPin:Ljava/lang/String;
    iget-object v6, p0, Lcom/noshufou/android/su/SuRequestActivity;->mPrefs:Landroid/content/SharedPreferences;

    const-string v7, "pin"

    const-string v8, ""

    invoke-interface {v6, v7, v8}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v3, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_0

    .line 297
    const/4 v6, 0x1

    iget-object v7, p0, Lcom/noshufou/android/su/SuRequestActivity;->mRememberCheckBox:Landroid/widget/CheckBox;

    invoke-virtual {v7}, Landroid/widget/CheckBox;->isChecked()Z

    move-result v7

    invoke-direct {p0, v6, v7}, Lcom/noshufou/android/su/SuRequestActivity;->sendResult(ZZ)V

    .line 301
    .end local v0           #msg:Landroid/nfc/NdefMessage;
    .end local v2           #record:Landroid/nfc/NdefRecord;
    .end local v3           #tagPin:Ljava/lang/String;
    .end local v4           #tnf:S
    .end local v5           #type:Ljava/lang/String;
    :cond_0
    return-void
.end method

.method protected onPause()V
    .locals 1

    .prologue
    .line 187
    invoke-super {p0}, Landroid/app/Activity;->onPause()V

    .line 188
    iget-object v0, p0, Lcom/noshufou/android/su/SuRequestActivity;->mNfcAdapter:Landroid/nfc/NfcAdapter;

    if-eqz v0, :cond_0

    .line 189
    iget-object v0, p0, Lcom/noshufou/android/su/SuRequestActivity;->mNfcAdapter:Landroid/nfc/NfcAdapter;

    invoke-virtual {v0, p0}, Landroid/nfc/NfcAdapter;->disableForegroundDispatch(Landroid/app/Activity;)V

    .line 191
    :cond_0
    return-void
.end method

.method protected onResume()V
    .locals 9

    .prologue
    const/4 v8, 0x1

    const/4 v7, 0x0

    .line 165
    invoke-super {p0}, Landroid/app/Activity;->onResume()V

    .line 166
    iget-object v5, p0, Lcom/noshufou/android/su/SuRequestActivity;->mPrefs:Landroid/content/SharedPreferences;

    const-string v6, "pref_use_allow_tag"

    invoke-interface {v5, v6, v7}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z

    move-result v5

    if-eqz v5, :cond_0

    .line 167
    invoke-static {p0}, Landroid/nfc/NfcAdapter;->getDefaultAdapter(Landroid/content/Context;)Landroid/nfc/NfcAdapter;

    move-result-object v5

    iput-object v5, p0, Lcom/noshufou/android/su/SuRequestActivity;->mNfcAdapter:Landroid/nfc/NfcAdapter;

    .line 169
    new-instance v5, Landroid/content/Intent;

    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v6

    invoke-direct {v5, p0, v6}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const/high16 v6, 0x2000

    invoke-virtual {v5, v6}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    move-result-object v5

    .line 168
    invoke-static {p0, v7, v5, v7}, Landroid/app/PendingIntent;->getActivity(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;

    move-result-object v3

    .line 170
    .local v3, pendingIntent:Landroid/app/PendingIntent;
    new-instance v2, Landroid/content/IntentFilter;

    const-string v5, "android.nfc.action.NDEF_DISCOVERED"

    invoke-direct {v2, v5}, Landroid/content/IntentFilter;-><init>(Ljava/lang/String;)V

    .line 172
    .local v2, ndef:Landroid/content/IntentFilter;
    :try_start_0
    const-string v5, "text/x-su-a"

    invoke-virtual {v2, v5}, Landroid/content/IntentFilter;->addDataType(Ljava/lang/String;)V
    :try_end_0
    .catch Landroid/content/IntentFilter$MalformedMimeTypeException; {:try_start_0 .. :try_end_0} :catch_0

    .line 177
    new-array v1, v8, [Landroid/content/IntentFilter;

    aput-object v2, v1, v7

    .line 178
    .local v1, filters:[Landroid/content/IntentFilter;
    new-array v4, v8, [[Ljava/lang/String;

    .line 179
    new-array v5, v8, [Ljava/lang/String;

    const-class v6, Landroid/nfc/tech/Ndef;

    invoke-virtual {v6}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v6

    aput-object v6, v5, v7

    aput-object v5, v4, v7

    .line 181
    .local v4, techLists:[[Ljava/lang/String;
    iget-object v5, p0, Lcom/noshufou/android/su/SuRequestActivity;->mNfcAdapter:Landroid/nfc/NfcAdapter;

    invoke-virtual {v5, p0, v3, v1, v4}, Landroid/nfc/NfcAdapter;->enableForegroundDispatch(Landroid/app/Activity;Landroid/app/PendingIntent;[Landroid/content/IntentFilter;[[Ljava/lang/String;)V

    .line 183
    .end local v1           #filters:[Landroid/content/IntentFilter;
    .end local v2           #ndef:Landroid/content/IntentFilter;
    .end local v3           #pendingIntent:Landroid/app/PendingIntent;
    .end local v4           #techLists:[[Ljava/lang/String;
    :cond_0
    :goto_0
    return-void

    .line 173
    .restart local v2       #ndef:Landroid/content/IntentFilter;
    .restart local v3       #pendingIntent:Landroid/app/PendingIntent;
    :catch_0
    move-exception v0

    .line 174
    .local v0, e:Landroid/content/IntentFilter$MalformedMimeTypeException;
    const-string v5, "Su.SuRequestActivity"

    const-string v6, "Bad MIME type declared"

    invoke-static {v5, v6, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_0
.end method
